home *** CD-ROM | disk | FTP | other *** search
/ F1 Licenseware / F1 Licenseware - Volume 1.iso / disks / 050a.dms / 050a.adf / TEXTS / chapter12.txt < prev    next >
Text File  |  1992-02-26  |  3KB  |  130 lines

  1.                      The Absolute Beginners Guide To Amos
  2.                     -------------------------------------
  3.                                 Chapter twelve
  4.                                 --------------
  5.  
  6. Here is an update of the commands covered in the previous three chapters.
  7.  
  8.  
  9. ANIM FREEZE        : Temporarily halt all ANIMations.
  10.  
  11. ANIM OFF           : Stop All ANIMimations.
  12.  
  13. ANIM ON            : Start all ANIMations
  14.  
  15. ANIM N,$           : Define ANIMation string.
  16.  
  17. BOB no.,x,y,image  : Place BOB no. at position x,y using image from bob bank
  18.  
  19. CHANNEL N TO BOB N : Assign a CHANNEL TO a BOB 
  20.  
  21. CLEAR KEY          : CLEAR the KEYboard buffer of any previous key presses.
  22.  
  23. DOUBLE BUFFER      : Helps to stop bobs flickering.
  24.  
  25. FADE N             : FADE screen to black.
  26.  
  27. GET SPRITE PALETTE : Use colours of bobs in bank one. 
  28.  
  29. LISTBANK           : LIST the contents of the memory BANKs.
  30.  
  31. MOVE FREEZE N      : Temporarily halt MOVEment of MOVE N.
  32.  
  33. MOVE OFF           : Stop all previously assigned MOVE strings. 
  34.  
  35. MOVE ON            : Start all previously assigned MOVE strings.
  36.  
  37. MOVE X $           : Move BOB horizontally according to $
  38.  
  39. MOVE Y $           : Move BOB vertically according to $.
  40.  
  41. SPACK              : PACK a picture from screen to bank.
  42.  
  43. TRACK LOAD         : LOAD a TRACKer module into a memory bank.
  44.  
  45. TRACK LOOP         : Continuously repeat playing module.
  46.  
  47. TRACK PLAY N       : Play a mod stored in bank N.
  48.  
  49. TRACK STOP         : STOP music playing.
  50.  
  51. UNPACK bank TO scr : UNPACK a previously PACKED screen from bank to a screen
  52.  
  53. WAIT VBL           : WAIT for a screen refresh before continuing.
  54.  
  55.  
  56.  
  57. And now for Self Test Quiz number three.
  58. ----------------------------------------
  59.  
  60. Q 1. What does DOUBLE BUFFER achieve?
  61.  
  62.   a) Stops bobs and sprites flickering.
  63.   b) Makes things twice as shiny.
  64.   c) Stops the PRINT instruction from PRINTing.
  65.  
  66. Q 2. What does the following achieve?
  67.    
  68.      UNPACK 7 TO 0
  69.     
  70.   a) Unpacks bank 7s contents to bank 0.
  71.   b) Unpack a picture stored in bank 7 to screen 0.
  72.   c) Unpacks 7 screens.
  73.  
  74. Q 3. What does ANIM OFF achieve?
  75.    
  76.   a) Stops the current MOVE commands.
  77.   b) Stops two ANIMations.
  78.   c) Stops all ANIMations.
  79.  
  80. Q 4. What bank is the default sprite/bob bank?
  81.  
  82.   a) Bank 1.
  83.   b) bank 2.
  84.   c) bank 3.
  85.  
  86.  Q 5. How would you ensure a Tracker mod played continuously?
  87.  
  88.   a) TRACK ON.
  89.   b) TRACK LOOP OFF.
  90.   c) TRACK LOOP ON.
  91.  
  92. Q 6. What would the following achieve?
  93.  
  94.      SPACK 0 TO 10
  95.  
  96.    a) Packs screen 0 to screen 10.
  97.    b) Packs bank 0 to bank 10.
  98.    c) Packs screen 0 to bank 10.
  99.    
  100. Q 7. What would MOVE FREEZE 1 Achieve?
  101.  
  102.    a) Freeze the keyboard.
  103.    b) Freeze the MOVE command with I.D number one.
  104.    c) Freeze all MOVE instructions.
  105.  
  106. Q 8. What command would you use to find out the contents of the memory banks?
  107.  
  108.    a) LUSTBONK.
  109.    b) LISPLIP.
  110.    c) LISTBANK.
  111.  
  112. Q 9. IF we did FADE 5 what should the following command be?
  113.  
  114.    a) WAIT 150.
  115.    b) GOTO 150.
  116.    c) FADE 150.
  117.  
  118. Q10. What command would empty the keyboard buffer?
  119.  
  120.    a) WAIT KEY.
  121.    b) KEYBOARD CLEAR.
  122.    c) CLEAR KEY.
  123.  
  124. Answers in chapter thirteen.
  125.  
  126. *Please note there is no Example program for this chapter.
  127.  
  128.                             End of chapter twelve
  129.                             ^^^^^^^^^^^^^^^^^^^^^
  130.